import org.junit.Test;
import ssm.com.utils.tOfTime;

import java.util.Date;
import java.util.UUID;

public class test1 {
    @Test
    public void t1(){
        tOfTime tOfTime = new tOfTime();
        Date date = tOfTime.removeT("2010-10-10T12:12:32");
        //System.out.println(date);
    }
    @Test
    public void t2() {
        //从197x年到现在的毫秒数
        long time = System.currentTimeMillis();
        System.out.println(time);
        //获取永远不会重复的字符串
        String string = UUID.randomUUID().toString();
        System.out.println(string);
    }
    @Test
    public void t3(){

        Date date = java.sql.Date.valueOf("2018-12-20");
        System.out.println(date);
    }
}
